package com.hqj.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/5/16/016
 */
@ApiModel(description = "Menu",value = "Menu")
@TableName(value="menu")
@Data
public class Menu implements Serializable{

	@ApiModelProperty(value = "菜单ID",required = false)
     @TableId(value = "menu_id", type = IdType.AUTO)
	private Long menuId;

	@ApiModelProperty(value = "菜单名称",required = false)
	private String menuName;

	@ApiModelProperty(value = "父菜单ID",required = false)
	private Long parentId;

	@ApiModelProperty(value = "显示顺序",required = false)
	private Integer orderNum;

	@ApiModelProperty(value = "路由地址",required = false)
	private String path;

	@ApiModelProperty(value = "组件路径",required = false)
	private String component;

	@ApiModelProperty(value = "是否为外链（0是 1否）",required = false)
	private Integer isFrame;

	@ApiModelProperty(value = "是否缓存（0缓存 1不缓存）",required = false)
	private Integer isCache;

	@ApiModelProperty(value = "菜单类型（M目录 C菜单 F按钮）",required = false)
	private String menuType;

	@ApiModelProperty(value = "菜单状态（0显示 1隐藏）",required = false)
	private String visible;

	@ApiModelProperty(value = "菜单状态（0正常 1停用）",required = false)
	private String status;

	@ApiModelProperty(value = "权限标识",required = false)
	private String perms;

	@ApiModelProperty(value = "菜单图标",required = false)
	private String icon;

	@ApiModelProperty(value = "创建时间",required = false)
	private Date createTime;

	@ApiModelProperty(value = "创建者",required = false)
	private String createBy;

	@ApiModelProperty(value = "更新者",required = false)
	private String updateBy;

	@ApiModelProperty(value = "更新时间",required = false)
	private Date updateTime;

	@ApiModelProperty(value = "备注",required = false)
	private String remark;






}
